package com.cloud.service;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.ui.ModelMap;
import com.cloud.bean.Driver;
import com.cloud.mapper.DriverMapper;

@Service
public class DriverService {
	
	@Autowired
	private DriverMapper driverMapper;
	
	public void getDriverList(Integer page, ModelMap mode) {
		ArrayList<Driver> list = driverMapper.selectAll();
		mode.addAttribute("list", list);
	}

	public void set(String gjnum, String ipnum) {
		// 设置同一ip在线数量限制  挂机数量限制
		
	}

	public void note(String note) {
		// 设置公告
		
	}
	
}
